package com.marsoft.test.service.impl;

import com.marsoft.test.entity.CollateralInsuranceRrenewedEntity;
import com.marsoft.test.mapper.CollateralInsuranceRrenewedMapper;
import com.marsoft.test.service.CollateralInsuranceRrenewedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * Description: <br/>
 */
@Service
public class CollateralInsuranceRrenewedServiceImpl implements CollateralInsuranceRrenewedService {
    @Autowired
    private CollateralInsuranceRrenewedMapper collateralInsuranceRrenewedMapper;

    @Override
    public List<CollateralInsuranceRrenewedEntity> findByApplyNoStatus(Integer collateralno) {
        CollateralInsuranceRrenewedEntity collateralInsuranceRrenewedEntity = new CollateralInsuranceRrenewedEntity();

        List<CollateralInsuranceRrenewedEntity> InsuranceRrenewedEntity = collateralInsuranceRrenewedMapper.findByApplyNoStatus(collateralno);

        return InsuranceRrenewedEntity;
    }
}